﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Wicresoft.UnifyShow.Portal
{


    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "ServiceReference1.ITSMSyncSoap")]
    public interface ITSMSyncSoap
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/SyncServiceRecord", ReplyAction = "*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
        string SyncServiceRecord(string requestID, string status, string approver);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/Authentication", ReplyAction = "*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
        bool Authentication(string UserName, string Password);
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ITSMSyncSoapChannel : ITSMSyncSoap, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class TSMSyncSoapClient : System.ServiceModel.ClientBase<ITSMSyncSoap>, ITSMSyncSoap
    {

        public TSMSyncSoapClient()
        {
        }

        public TSMSyncSoapClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public TSMSyncSoapClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public TSMSyncSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public TSMSyncSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public string SyncServiceRecord(string requestID, string status, string approver)
        {
            return base.Channel.SyncServiceRecord(requestID, status, approver);
        }

        public bool Authentication(string UserName, string Password)
        {
            return base.Channel.Authentication(UserName, Password);
        }
    }
}